.class Lcom/netease/newsreader/service/OfflineDownloadService$1;
.super Landroid/os/Handler;
.source "OfflineDownloadService.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/service/OfflineDownloadService;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/service/OfflineDownloadService;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/service/OfflineDownloadService;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    .line 360
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 24
    .parameter "msg"

    .prologue
    .line 365
    invoke-super/range {p0 .. p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 366
    move-object/from16 v0, p1

    iget v0, v0, Landroid/os/Message;->what:I

    move/from16 v19, v0

    packed-switch v19, :pswitch_data_0

    .line 481
    :goto_0
    return-void

    .line 369
    :pswitch_0
    const-string v7, ""

    .line 370
    .local v7, current_num:Ljava/lang/String;
    const-string v6, ""

    .line 371
    .local v6, current_col:Ljava/lang/String;
    const-string v8, ""

    .line 372
    .local v8, current_num_in_col:Ljava/lang/String;
    const/4 v14, 0x0

    .line 375
    .local v14, percent:I
    :try_start_0
    invoke-virtual/range {p1 .. p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;

    move-result-object v4

    .line 376
    .local v4, bundle:Landroid/os/Bundle;
    if-eqz v4, :cond_0

    .line 377
    const-string v19, "current_num"

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    .line 378
    const-string v19, "current_col"

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    .line 379
    const-string v19, "current_num_in_col"

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    .line 380
    const-string v19, "percent"

    move-object/from16 v0, v19

    invoke-virtual {v4, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v14

    .line 383
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const-string v20, "offline"

    const/16 v21, 0x0

    invoke-virtual/range {v19 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v17

    .line 384
    .local v17, settings:Landroid/content/SharedPreferences;
    invoke-interface/range {v17 .. v17}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "current_num"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-interface {v0, v1, v7}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 385
    invoke-interface/range {v17 .. v17}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "current_col"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-interface {v0, v1, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 386
    invoke-interface/range {v17 .. v17}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "current_num_in_col"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-interface {v0, v1, v8}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 387
    invoke-interface/range {v17 .. v17}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "percent"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-interface {v0, v1, v14}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 389
    new-instance v11, Landroid/content/Intent;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const-class v20, Lcom/netease/newsreader/activity/OfflineDownPage;

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-direct {v11, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 390
    .local v11, i:Landroid/content/Intent;
    const/high16 v19, 0x2

    move/from16 v0, v19

    invoke-virtual {v11, v0}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 391
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v20, v0

    const/16 v21, 0x0

    const/16 v22, 0x0

    move-object/from16 v0, v20

    move/from16 v1, v21

    move/from16 v2, v22

    invoke-static {v0, v1, v11, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v20

    invoke-static/range {v19 .. v20}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$0(Lcom/netease/newsreader/service/OfflineDownloadService;Landroid/app/PendingIntent;)V

    .line 392
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const v20, 0x7f030044

    const v21, 0x7f0200f3

    const-string v22, "\u79bb\u7ebf\u65b0\u95fb\u4e0b\u8f7d"

    invoke-static/range {v19 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$1(Lcom/netease/newsreader/service/OfflineDownloadService;IILjava/lang/String;)V

    .line 394
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0107

    const v21, 0x7f0200f3

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    .line 395
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c010a

    const/16 v21, 0x64

    const/16 v22, 0x0

    move-object/from16 v0, v19

    move/from16 v1, v20

    move/from16 v2, v21

    move/from16 v3, v22

    invoke-virtual {v0, v1, v2, v14, v3}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

    .line 396
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0109

    new-instance v21, Ljava/lang/StringBuilder;

    const-string v22, "\u6b63\u5728\u4e0b\u8f7d\u79bb\u7ebf\u65b0\u95fb "

    invoke-direct/range {v21 .. v22}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v21

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    move-object/from16 v0, v21

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    invoke-virtual/range {v21 .. v21}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 397
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0108

    new-instance v21, Ljava/lang/StringBuilder;

    invoke-static {v14}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v22

    invoke-direct/range {v21 .. v22}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v22, "%"

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    invoke-virtual/range {v21 .. v21}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 399
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030046

    invoke-virtual/range {v19 .. v20}, Landroid/app/NotificationManager;->cancel(I)V

    .line 400
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030044

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v21, v0

    invoke-static/range {v21 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$4(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/Notification;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    .line 401
    .end local v4           #bundle:Landroid/os/Bundle;
    .end local v11           #i:Landroid/content/Intent;
    .end local v17           #settings:Landroid/content/SharedPreferences;
    :catch_0
    move-exception v10

    .line 403
    .local v10, e:Ljava/lang/Exception;
    invoke-virtual {v10}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    .line 407
    .end local v6           #current_col:Ljava/lang/String;
    .end local v7           #current_num:Ljava/lang/String;
    .end local v8           #current_num_in_col:Ljava/lang/String;
    .end local v10           #e:Ljava/lang/Exception;
    .end local v14           #percent:I
    :pswitch_1
    new-instance v12, Landroid/content/Intent;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const-class v20, Lcom/netease/newsreader/activity/NewsReader;

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-direct {v12, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 408
    .local v12, intent:Landroid/content/Intent;
    const/high16 v19, 0x2

    move/from16 v0, v19

    invoke-virtual {v12, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 409
    const/high16 v19, 0x400

    move/from16 v0, v19

    invoke-virtual {v12, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 410
    const-string v19, "pintent"

    const-string v20, "pintent"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-virtual {v12, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 411
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v20, v0

    const/16 v21, 0x0

    const/16 v22, 0x0

    move-object/from16 v0, v20

    move/from16 v1, v21

    move/from16 v2, v22

    invoke-static {v0, v1, v12, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v20

    invoke-static/range {v19 .. v20}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$0(Lcom/netease/newsreader/service/OfflineDownloadService;Landroid/app/PendingIntent;)V

    .line 413
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const v20, 0x7f030046

    const v21, 0x7f0200f5

    const-string v22, "\u6210\u529f\u4e0b\u8f7d\u5bfc\u822a\u680f\u76ee\u7684\u79bb\u7ebf\u65b0\u95fb"

    invoke-static/range {v19 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$1(Lcom/netease/newsreader/service/OfflineDownloadService;IILjava/lang/String;)V

    .line 414
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0111

    const-string v21, "\u6210\u529f\u4e0b\u8f7d\u5bfc\u822a\u680f\u76ee\u7684\u79bb\u7ebf\u65b0\u95fb"

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 415
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0112

    new-instance v21, Ljava/lang/StringBuilder;

    const-string v22, "\u5171\u79bb\u7ebf\u65b0\u95fb"

    invoke-direct/range {v21 .. v22}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v22, v0

    invoke-static/range {v22 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$5(Lcom/netease/newsreader/service/OfflineDownloadService;)I

    move-result v22

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v21

    const-string v22, "\u6761,\u6210\u529f"

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v22, v0

    invoke-static/range {v22 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$5(Lcom/netease/newsreader/service/OfflineDownloadService;)I

    move-result v22

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v23, v0

    invoke-static/range {v23 .. v23}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$6(Lcom/netease/newsreader/service/OfflineDownloadService;)I

    move-result v23

    sub-int v22, v22, v23

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v21

    const-string v22, "\u6761,\u5931\u8d25"

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v22, v0

    invoke-static/range {v22 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$6(Lcom/netease/newsreader/service/OfflineDownloadService;)I

    move-result v22

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v21

    const-string v22, "\u6761\u3002"

    invoke-virtual/range {v21 .. v22}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v21

    invoke-virtual/range {v21 .. v21}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 417
    :try_start_1
    new-instance v15, Ljava/text/SimpleDateFormat;

    const-string v19, "HH:mm"

    move-object/from16 v0, v19

    invoke-direct {v15, v0}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 418
    .local v15, sDateFormat:Ljava/text/SimpleDateFormat;
    new-instance v19, Ljava/util/Date;

    invoke-direct/range {v19 .. v19}, Ljava/util/Date;-><init>()V

    move-object/from16 v0, v19

    invoke-virtual {v15, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v9

    .line 419
    .local v9, date:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0113

    move-object/from16 v0, v19

    move/from16 v1, v20

    invoke-virtual {v0, v1, v9}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 424
    .end local v9           #date:Ljava/lang/String;
    .end local v15           #sDateFormat:Ljava/text/SimpleDateFormat;
    :goto_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0110

    const v21, 0x7f0200f6

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    .line 426
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030044

    invoke-virtual/range {v19 .. v20}, Landroid/app/NotificationManager;->cancel(I)V

    .line 427
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030046

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v21, v0

    invoke-static/range {v21 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$4(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/Notification;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 428
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsDownOffline(Z)V

    .line 429
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsCancleOfflineDown(Z)V

    .line 430
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x1

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsOfflineDownFinish(Z)V

    .line 432
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const-string v20, "offline"

    const/16 v21, 0x0

    invoke-virtual/range {v19 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v18

    .line 433
    .local v18, settingsOffline:Landroid/content/SharedPreferences;
    invoke-interface/range {v18 .. v18}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "percent"

    const/16 v21, 0x64

    invoke-interface/range {v19 .. v21}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 435
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    invoke-static/range {v19 .. v19}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v16

    .line 436
    .local v16, set_prefs:Landroid/content/SharedPreferences;
    invoke-interface/range {v16 .. v16}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    const-string v20, "autoDownTime"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v21

    invoke-interface/range {v19 .. v22}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;

    move-result-object v19

    invoke-interface/range {v19 .. v19}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 438
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->stopSelf()V

    goto/16 :goto_0

    .line 420
    .end local v16           #set_prefs:Landroid/content/SharedPreferences;
    .end local v18           #settingsOffline:Landroid/content/SharedPreferences;
    :catch_1
    move-exception v10

    .line 422
    .restart local v10       #e:Ljava/lang/Exception;
    invoke-virtual {v10}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_1

    .line 441
    .end local v10           #e:Ljava/lang/Exception;
    .end local v12           #intent:Landroid/content/Intent;
    :pswitch_2
    new-instance v13, Landroid/content/Intent;

    const-string v19, "/"

    move-object/from16 v0, v19

    invoke-direct {v13, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 442
    .local v13, mIntent:Landroid/content/Intent;
    new-instance v5, Landroid/content/ComponentName;

    const-string v19, "com.android.settings"

    const-string v20, "com.android.settings.WirelessSettings"

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-direct {v5, v0, v1}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 443
    .local v5, comp:Landroid/content/ComponentName;
    invoke-virtual {v13, v5}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 444
    const-string v19, "android.intent.action.VIEW"

    move-object/from16 v0, v19

    invoke-virtual {v13, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 445
    const/high16 v19, 0x400

    move/from16 v0, v19

    invoke-virtual {v13, v0}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 446
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v20, v0

    const/16 v21, 0x0

    const/16 v22, 0x0

    move-object/from16 v0, v20

    move/from16 v1, v21

    move/from16 v2, v22

    invoke-static {v0, v1, v13, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v20

    invoke-static/range {v19 .. v20}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$0(Lcom/netease/newsreader/service/OfflineDownloadService;Landroid/app/PendingIntent;)V

    .line 448
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const v20, 0x7f030046

    const v21, 0x7f0200f4

    const-string v22, "\u79bb\u7ebf\u65b0\u95fb\u4e0b\u8f7d\u5931\u8d25"

    invoke-static/range {v19 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$1(Lcom/netease/newsreader/service/OfflineDownloadService;IILjava/lang/String;)V

    .line 449
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0111

    const-string v21, "\u79bb\u7ebf\u65b0\u95fb\u4e0b\u8f7d\u5931\u8d25"

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 450
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0112

    const-string v21, "\u7f51\u7edc\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5\u624b\u673a\u7f51\u7edc\u8bbe\u7f6e\u6216\u5c1d\u8bd5\u91cd\u542f\u624b\u673a\u3002"

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 451
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0110

    const v21, 0x7f0200f4

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    .line 453
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030044

    invoke-virtual/range {v19 .. v20}, Landroid/app/NotificationManager;->cancel(I)V

    .line 454
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030046

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v21, v0

    invoke-static/range {v21 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$4(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/Notification;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 455
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsDownOffline(Z)V

    .line 456
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsCancleOfflineDown(Z)V

    .line 457
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->stopSelf()V

    goto/16 :goto_0

    .line 460
    .end local v5           #comp:Landroid/content/ComponentName;
    .end local v13           #mIntent:Landroid/content/Intent;
    :pswitch_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const-string v20, "\u5df2\u53d6\u6d88\u4e0b\u8f7d\u79bb\u7ebf\u65b0\u95fb"

    const/16 v21, 0x0

    invoke-static/range {v19 .. v21}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/widget/Toast;->show()V

    .line 461
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030044

    invoke-virtual/range {v19 .. v20}, Landroid/app/NotificationManager;->cancel(I)V

    .line 462
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsDownOffline(Z)V

    .line 463
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsCancleOfflineDown(Z)V

    .line 464
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->stopSelf()V

    goto/16 :goto_0

    .line 467
    :pswitch_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    const v20, 0x7f030046

    const v21, 0x7f0200f4

    const-string v22, "\u79bb\u7ebf\u65b0\u95fb\u4e0b\u8f7d\u5931\u8d25"

    invoke-static/range {v19 .. v22}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$1(Lcom/netease/newsreader/service/OfflineDownloadService;IILjava/lang/String;)V

    .line 468
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0111

    const-string v21, "\u79bb\u7ebf\u65b0\u95fb\u4e0b\u8f7d\u5931\u8d25"

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 469
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0112

    const-string v21, "\u8bf7\u68c0\u67e5\u624b\u673aSD\u5361\u662f\u5426\u53ef\u7528\u3002"

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 470
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$2(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/widget/RemoteViews;

    move-result-object v19

    const v20, 0x7f0c0110

    const v21, 0x7f0200f4

    invoke-virtual/range {v19 .. v21}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    .line 472
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030044

    invoke-virtual/range {v19 .. v20}, Landroid/app/NotificationManager;->cancel(I)V

    .line 473
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$3(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/NotificationManager;

    move-result-object v19

    const v20, 0x7f030046

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v21, v0

    invoke-static/range {v21 .. v21}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$4(Lcom/netease/newsreader/service/OfflineDownloadService;)Landroid/app/Notification;

    move-result-object v21

    invoke-virtual/range {v19 .. v21}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    .line 474
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsDownOffline(Z)V

    .line 475
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-static/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->access$7(Lcom/netease/newsreader/service/OfflineDownloadService;)Lcom/netease/newsreader/activity/MyApplication;

    move-result-object v19

    const/16 v20, 0x0

    invoke-virtual/range {v19 .. v20}, Lcom/netease/newsreader/activity/MyApplication;->setIsCancleOfflineDown(Z)V

    .line 476
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/netease/newsreader/service/OfflineDownloadService$1;->this$0:Lcom/netease/newsreader/service/OfflineDownloadService;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/netease/newsreader/service/OfflineDownloadService;->stopSelf()V

    goto/16 :goto_0

    .line 366
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method
